<?php /* Smarty version 2.6.26, created on 2010-01-11 12:33:21
         compiled from guestbook_form.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'guestbook_form.tpl', 18, false),)), $this); ?>

<form action="<?php echo $this->_tpl_vars['SCRIPT_NAME']; ?>
?action=submit" method="post">

<table border="1">

    <?php if ($this->_tpl_vars['error'] != ""): ?>
        <tr>
            <td bgcolor="yellow" colspan="2">
                <?php if ($this->_tpl_vars['error'] == 'name_empty'): ?>You must supply a name.
                <?php elseif ($this->_tpl_vars['error'] == 'comment_empty'): ?> You must supply a comment.
                <?php endif; ?>
            </td>
        </tr>
    <?php endif; ?>
    <tr>
        <td>Name:</td>
        <td><input type="text" name="Name" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['post']['Name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" size="40"></td>
    </tr>
    <tr>
        <td valign="top">Comment:</td>
        <td><textarea name="Comment" cols="40" rows="10"><?php echo ((is_array($_tmp=$this->_tpl_vars['post']['Comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea></td>
    </tr>
    <tr>
        <td colspan="2" align="center"><input type="submit" value="Submit"></td>
    </tr>

</table>


</form>